package com.awifi.com.thread.threadName;

/**
 * @description: ToDo
 * @author: marin
 * @time: 2020/6/28 13:54
 */
public class ThreadDemo2 {
    public static void main(String[] args){
        MyThread myThread = new MyThread();
        myThread.start();
        MyThread myThread1 = new MyThread();
        myThread1.start();

        MyThread myThread2 = new MyThread();
        myThread2.setName("thread demo");
        myThread2.start();

        ThreadName threadName = new ThreadName("tony");
        threadName.start();
    }
}
